﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminViews/Admin.Master" AutoEventWireup="true" CodeBehind="DeleteRegulation.aspx.cs" Inherits="BestBuy.AdminViews.DeleteRegulation" %>

<%@ Register TagPrefix="uc" TagName="MessagePanel" Src="~/UserControls/MessagePanel.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="wrapper-content">
    <div class="form-horizontal">
       <fieldset>
            <legend>Delete Regulations   </legend>
            
              <uc:MessagePanel ID="AdminInfoMessage" runat="server" />
             <asp:ValidationSummary ID="DeleteRegulationstInfoValidationSummary" runat="server" CssClass="alert alert-danger" 
             ValidationGroup="DeleteRegulationstValidationGroup" />
                <div class= "control-group">
                    Name<div class="controls">
                   <asp:DropDownList ID="cbName" runat="server" DataTextField="Name" DataValueField="ID"
                            onselectedindexchanged="cbName_SelectedIndexChanged" AutoPostBack="True"/>
                </div>
                    
                </div>
                   <div class= "control-group">
                       Detail<div class="controls">
                         <asp:TextBox ID="txtDetail" runat="server" Enabled="False"></asp:TextBox>
                </div>
                    
                </div>

                   <div class="control-group">
                    <div class="controls">
                        <asp:Button ID="DeleteRegulationInfoButton" runat="server" 
                            CssClass="btn btn-primary" Text="Delete"
                            ValidationGroup="DeleteRegulationValidationGroup"  
                            OnClientClick="hideMessagePanel()" onclick="DeleteRegulationInfoButton_Click"
                           />
                    </div>
                </div>
      </fieldset>
      </div>
      </div>
</asp:Content>
